SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}Bernau{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCity = 'Bernau' OR prZip = 'Bernau' OR prStreet LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}Bernau{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCountry = 'Bernau') AND (prLocation LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}bei{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCity = 'bei' OR prZip = 'bei' OR prStreet LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}bei{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCountry = 'bei') AND (prLocation LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}Berlin{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}Berlin{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCountry = 'Berlin') AND (prLocation LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}/{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}/{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCountry = '/') AND (prLocation LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}Eichwerder{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCity = 'Eichwerder' OR prZip = 'Eichwerder' OR prStreet LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}Eichwerder{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCountry = 'Eichwerder') AND (prLocation LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}Germany{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}Germany{d257b6cc7ac34cf90079bfc129ce8809cf86a8b7ea3be96c13f290f64c080f44}' OR prCountry = 'Germany')